From: Katsumi Yamaoka Date: Tue, 25 Jan 2011 10:36:00 +0000 (+0000) Subject: shr.el (shr-expand-newlines): Fix variable name. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5070 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=99013e203870604e6105da24b81a134d47303594;p=emacs.git shr.el (shr-expand-newlines): Fix variable name. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3c2b0ed1b3c..e6d277ffae7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2011-01-25 Katsumi Yamaoka + + * shr.el (shr-expand-newlines): Fix variable name. + 2011-01-25 Lars Ingebrigtsen * shr.el (shr-expand-newlines): Make nested boxes work. diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index aa05a061868..48aee4004db 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -663,23 +663,23 @@ ones, in case fg and bg are nil." (goto-char (point-min)) (while (not (eobp)) (end-of-line) - (when (and (< (setq current-column (current-column)) width) - (< (setq current-column (shr-previous-newline-padding-width - current-column)) + (when (and (< (setq column (current-column)) width) + (< (setq column (shr-previous-newline-padding-width column)) width)) (let ((overlay (make-overlay (point) (1+ (point))))) (overlay-put overlay 'before-string (concat (mapconcat (lambda (overlay) - (let ((string (getf (overlay-properties overlay) 'before-string))) + (let ((string (getf (overlay-properties overlay) + 'before-string))) (if (not string) "" (overlay-put overlay 'before-string "") string))) (overlays-at (point)) "") - (propertize (make-string (- width current-column) ? ) + (propertize (make-string (- width column) ? ) 'face (list :background color)))))) (forward-line 1)))))